package com.feeling.oafeeling.mapper;

import com.feeling.oafeeling.pojo.FlOrder;
import com.feeling.oafeeling.pojo.FlOrderExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface FlOrderMapper {
    long countByExample(FlOrderExample example);

    int deleteByExample(FlOrderExample example);

    int deleteByPrimaryKey(Long id);

    int insert(FlOrder record);

    int insertSelective(FlOrder record);

    List<FlOrder> selectByExampleWithBLOBs(FlOrderExample example);

    List<FlOrder> selectByExample(FlOrderExample example);

    FlOrder selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") FlOrder record, @Param("example") FlOrderExample example);

    int updateByExampleWithBLOBs(@Param("record") FlOrder record, @Param("example") FlOrderExample example);

    int updateByExample(@Param("record") FlOrder record, @Param("example") FlOrderExample example);

    int updateByPrimaryKeySelective(FlOrder record);

    int updateByPrimaryKeyWithBLOBs(FlOrder record);

    int updateByPrimaryKey(FlOrder record);

    List<FlOrder> selectAllTaskList();

    String findOrderNum(int taskId);

    int findIfHaveStepId(@Param("taskId") int taskId, @Param("step") int step);
}